package com.ydd.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("分页查询结果")
public class PageResultVO implements Serializable {
    @ApiModelProperty("总记录数")
    private Long count;
    @ApiModelProperty("总页数")
    private Long totalPage;
    @ApiModelProperty("每页记录数")
    private Long pageSize;
    @ApiModelProperty("当前页码")
    private Long currentPage;
    @ApiModelProperty("当前页数据集合")
    private List data;

}